package com.qk.domain.user;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @Author: zhangchuang
 * @Date: 2025/10/08 09:42
 * @Description: 用户DO
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class UserDO {
    private Integer id;
    private String username;
    private String password;
    private String name;
    private String phone;
    private String email;
    private Integer gender;
    private Integer status;
    private Integer deptId;
    private Integer roleId;
    private String image;
    private String remark;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    //扩展属性
    private String deptName; //部门名称
    private String roleName; //角色名称
}